package xmpp.client.api.User;

/**
 *
 * @author Miguel Gonzalez - Juanan Mangudo - Telecor
 */
public class UserXMPP {
    private String userName;
    private String name;
    private String email;
    private String creationDate;
    private String modificationDate;
    private String encryptedPassword;
    private String plainPassword;
    
    public UserXMPP(String userName, String name, String email, String plainPassword, String encryptedPassword, String creationDate, String modificationDate) {
        this.userName = userName;
        this.name = name;
        this.creationDate = creationDate;
        this.modificationDate = modificationDate;
        this.encryptedPassword=encryptedPassword;
        this.email=email;
        this.plainPassword=plainPassword;
    }
    
    //Quitar todos los set

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCreationDate() {
        return creationDate;
    }

    public String getModificationDate() {
        return modificationDate;
    }

    public String getPassword() {
        return encryptedPassword;
    }

    public void setPassword(String password) {
        this.encryptedPassword = password;
    }

    /**
     * @return the plainPassword
     */
    public String getPlainPassword() {
        return plainPassword;
    }

    /**
     * @param plainPassword the plainPassword to set
     */
    public void setPlainPassword(String plainPassword) {
        this.plainPassword = plainPassword;
    }
}
